home *** CD-ROM | disk | FTP | other *** search
- Path: oxy.rust.net!usenet
- From: ebennett@rust.net
- Newsgroups: comp.lang.c++
- Subject: Re: MS VC++ 1.5/2.0: How to do DOS commands (.exe files etc)?
- Date: Fri, 26 Jan 1996 19:12:54 GMT
- Organization: Rust Net - High Speed Internet in Detroit 810-642-2276
- Message-ID: <4eauhm$47v@oxy.rust.net>
- References: <DLqLGr.3Cz@isc.mew.co.jp>
- NNTP-Posting-Host: liv-3.rust.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- tomio@ai.mew.co.jp (Steven J. Madsen) wrote:
-
- >Someone answered a similar post saying to use the "system" command. I
- >recall this is documented under Borland C++, but I can't get it to
- >work under MS VC++ 1.5 (I also have 2.0)
-
- >So, does anyone know how to issue a DOS command (e.g., start a DOS
- >EXE file going) from within an app created using Visual C++ 1.5?
-
- If you are writing a Windows program, you need to use the Windows API
- WinExec()
-
- Earl
-
-
-